package org.belkodevelop.registration.dto;

/**
 * @author VMozolev
 */
public class RegistrationStatusDto {

    public static final String CAPTCHA_ERROR_CODE = "CAPTCHA_ERROR";
    public static final String USER_EXIST_ERROR_CODE = "USER_EXIST_ERROR_CODE";
    public static final String NOT_FOUND_ADMIN_CODE = "NOT_FOUND_ADMIN_CODE";

    private boolean error;

    private String message;

    private String code;

    public boolean isError() {
        return error;
    }

    public void setError(boolean error) {
        this.error = error;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}